package com.dell.chen.pojo;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author ：ChenwithIU
 * @date ：Created in 2020/11/23 18:54
 */
public class Flowers {

    private Integer id;//id
    private String name;//名称
    private Integer sort_id;//分类id
    private String img_path;//图片路径
    private String material;//材料
    private String pack;//包装
    private BigDecimal price;//价格
    private String slogan;//花语
    private List<Flowers> items;


    public Flowers() {
    }

    public Flowers(Integer id, String name, Integer sort_id, String img_path, String material, String pack, BigDecimal price, String slogan, List<Flowers> items) {
        this.id = id;
        this.name = name;
        this.sort_id = sort_id;
        this.img_path = img_path;
        this.material = material;
        this.pack = pack;
        this.price = price;
        this.slogan = slogan;
        this.items = items;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort_id() {
        return sort_id;
    }

    public void setSort_id(Integer sort_id) {
        this.sort_id = sort_id;
    }

    public String getImg_path() {
        return img_path;
    }

    public void setImg_path(String img_path) {
        this.img_path = img_path;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getPack() {
        return pack;
    }

    public void setPack(String pack) {
        this.pack = pack;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public List<Flowers> getItems() {
        return items;
    }

    public Flowers(Integer id, String name, Integer sort_id, String img_path, String material, String pack, BigDecimal price, String slogan) {
        this.id = id;
        this.name = name;
        this.sort_id = sort_id;
        this.img_path = img_path;
        this.material = material;
        this.pack = pack;
        this.price = price;
        this.slogan = slogan;
    }

    public void setItems(List<Flowers> items) {
        this.items = items;
    }

    @Override
    public String toString() {
        return "Flowers{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sort_id=" + sort_id +
                ", img_path='" + img_path + '\'' +
                ", material='" + material + '\'' +
                ", pack='" + pack + '\'' +
                ", price=" + price +
                ", slogan='" + slogan + '\'' +
                '}';
    }
}
